package springboot.dao;

import springboot.Tools.Date.Day;
import springboot.doMain.WxGroupChatAdmin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface WxGroupChatAdminDao {
	int deleteByPrimaryKey(Long groupChatSellerId);
	
	int selIsExistByDate(Long date);
	
	int insert(WxGroupChatAdmin record);
	
	List<Map<String, String>> selPeriodSellerDataByAnother(long date);
	
	boolean isLastData();
	
	int updateByDateAndUserId(WxGroupChatAdmin wxGroupChatAdmin);
	
	int insertSelective(WxGroupChatAdmin record);
	
	List<Map<String, Object>> selPeriodSellerData(long start, long end);
	
	WxGroupChatAdmin selectByPrimaryKey(Long groupChatSellerId);
	
	int updateByPrimaryKeySelective(WxGroupChatAdmin record);
	
	int updateByPrimaryKey(WxGroupChatAdmin record);
	
	List<Map<String, Object>> selSellerData(int diff);
}